package cn.wind.xboot.logic.service.impl;

import cn.wind.xboot.logic.entity.Bank;
import cn.wind.xboot.logic.dao.BankMapper;
import cn.wind.xboot.logic.service.IBankService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 银行卡 服务实现类
 * </p>
 *
 * @author wind
 * @since 2018-12-21
 */
@Service
public class BankServiceImpl extends ServiceImpl<BankMapper, Bank> implements IBankService {

    @Override
    public Bank findByCid(Long id) {
        return this.baseMapper.findByCid(id);
    }

    @Override
    public List<Bank> getBankList() {
        return this.baseMapper.getBankList();
    }
}
